<template>
	<view class="page">
		<view class="scroll-text-view">
			<marquee class="scroll-text"><text :class="type==2?'hua1':''">{{scrolltext}}</text></marquee>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		props:['scrolltext','type']
	}
</script>

<style>
	.scroll-text-view{
			width: 100%;
			height: 46rpx;
			margin-top: 20rpx;
		}
		.scroll-text{
			font-size: 24rpx;
			color: #999;
			line-height: 46rpx;
			font-weight: normal; 
			letter-spacing: 4rpx
		}
		.hua1{
			color:rgba(254,177,71,1);
		}
</style>
